package com.ly.emp.bean.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;

/**
 * 季度年度汇总数据初始化-DTO
 *
 * @author jeecg
 * @Date: 2023-06-30
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@Schema(description = "季度年度汇总数据初始化")
public class HubTeamSummaryReleaseDTO {

    /**
     * 季度/年度考核标识 季度：quarter 年度：year
     */
    @NotEmpty(message = "季度/年度考核标识不为空")
    @Schema(description = "季度/年度考核标识 季度：quarter 年度：year")
    private String assessFlag;

    /**
     * 班组编码
     */
    @NotEmpty(message = "班组编码不能为空")
    @Schema(description = "班组编码")
    private String orgCode;

    /**
     * 考核周期
     */
    @NotEmpty(message = "考核周期不能为空")
    @Schema(description = "考核周期")
    private String assessTime;
}
